package com.bistu.xiong.factory.presenter.community;

import com.bistu.xiong.common.presenter.BaseContract;
import com.bistu.xiong.factory.model.api.community.GetUserPostRspModel;

import java.util.ArrayList;

/**
 * Created by XiongXiaoJun on 2017/12/04.
 */

public interface CommunityContract {
    interface View extends BaseContract.View<Presenter>{
        // 刷新数据成功
        void freshSuccess(ArrayList<GetUserPostRspModel> getUserPostRspModels);
        void stopSwipeRefresh();
    }

    interface Presenter extends BaseContract.Presenter{
        // 刷新帖子数据
        void freshPostData();
    }
}
